home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 14926 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  870 b 

  1. Path: btree.is.brooktree.com!mdimeo
  2. From: mdimeo@brooktree.com (Matt DiMeo)
  3. Newsgroups: comp.lang.c,comp.unix.programmer
  4. Subject: Re: Q: '\n' character
  5. Date: 16 Apr 1996 02:17:17 GMT
  6. Organization: Brooktree
  7. Message-ID: <4kuvvd$smk@btree.brooktree.com>
  8. References: <4kj66f$k0o@ren.cei.net> <1996Apr11.192937.25676@sq.com> <829396473snz@genesis.demon.co.uk> <4kpd2g$eeb@masala.cc.uh.edu>
  9. NNTP-Posting-Host: prune.is.brooktree.com
  10.  
  11. In article <4kpd2g$eeb@masala.cc.uh.edu>, Spasmo <cosc19z5@Bayou.UH.EDU> wrote:
  12.  >Ok, I've got a question at this point.  Is it really proper to say
  13.  >if (ptr)?  From what I've read, NULL wasn't supposed to be guaranteed
  14.  >to work with true/false tests like the above, so the only safe way
  15.  
  16. Yes, it's safe.  Whether it's good style is a matter of opinion.  The
  17. comp.lang.c FAQ covers this and other NULL pointer topics in great detail.
  18.  
  19. -m@
  20.